package com.time.workbench.efficient.entity.bo;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 应用
 * </p>
 *
 * @author 时间
 * @since 2021-04-25
 */
@EqualsAndHashCode(callSuper = true)
@TableName("efficient_application")
@Data
public class Application extends Model<Application> {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 应用code
     */
    private String code;

    /**
     * 应用名称
     */
    private String name;

    /**
     * git地址
     */
    private String gitAddress;

    /**
     * 应用类型 applicationType 字典表维护
     */
    private int applicationType;

    /**
     * 运行环境
     */
    private String environment;

    /**
     * 编译模块
     */
    private String compileModule;

    /**
     * 负责人
     */
    private String principal;
    
    /**
     * 租户id
     */
    private Integer tenantId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
